package link.xieyu;

/**
 * @author xieyu
 */
public class TestString {

	public static void main(String[] args) {
		extracted();
	}

	private static void extracted() {
		// 拓展知识: 为什么spring源码不采用slf4j日志接口的占位符模式
		// 因为StringBuilder性能要比replace性能高
		//
		String s = abc();

		String x = s + "ab";
		x.replace("","");
		StringBuilder abc = new StringBuilder(s).append("abc");
		System.err.println(x);
	}

	static String abc(){
		return "abc";
	}
}
